projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd6babf
)
Explictly init uuid buffer.
author
robertl
<robertl>
Thu, 23 Mar 2006 17:21:52 +0000
(17:21 +0000)
committer
robertl
<robertl>
Thu, 23 Mar 2006 17:21:52 +0000
(17:21 +0000)
coastexp.c
patch
|
blob
|
history
diff --git
a/coastexp.c
b/coastexp.c
index d44b20f11d911a8f9ead32631777d877e50e71f5..f5e2fa70771b25015a113f8347fdf63c891e676b 100755
(executable)
--- a/
coastexp.c
+++ b/
coastexp.c
@@
-514,6
+514,8
@@
static char *
ce_gen_uuid(void)
{
uuid_t uu;
+
+ memset(&uu, 0, sizeof(uu));
gb_uuid_generate(uu);
sprintf(uuid_buffer, "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x",
uu[0], uu[1], uu[2], uu[3], uu[4], uu[5], uu[6], uu[7],